/**
 * Created by MetaLab_Gu on 2016/4/21.
 */
angular.module('metalabPartnerApp').filter("limitToEllipsis", function () {
    return function (text, limit) {
        return text ? text.slice(0, limit) + '...' : text;
    }
});
